package com.aop.demo.annotation;

import com.aop.demo.aop.WebCommonLogAspect;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * {@link org.springframework.stereotype.Controller } 层日志注解
 * @see WebCommonLogAspect 具体实现
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface AopLog {
    /**
     * 方法的名称
     * @return
     */
    String value();
}
